def Prime(x):
    for i in range(2, x):
        if x%i==0:
            return False
    return True

n = int(input('请输入一个大于2的自然数：\n'))
result = []
for i in range(2, n):
    if Prime(i)==True:
        result.append(i)
print('这是返回的素数：', result)